import { BASE_PRE } from "../utils/base.js";

const uploadSync = {};

uploadSync.list = {
  url: BASE_PRE + "/upload/logs/pages",
  method: "post",
  loadingPreset: {
    background: "rgba(0,0,0,0.3)",
  },
};

uploadSync.build = {
  url: BASE_PRE + "/upload/logs/chart/build",
  method: "get",
  loadingPreset: {
    background: "rgba(0,0,0,0.3)",
  },
};


uploadSync.channel = {
  url: BASE_PRE + "/upload/logs/channel/get",
  method: "get",
  rejectOnError: true
};

uploadSync.data = {
  url: BASE_PRE + "/upload/logs/data/get",
  method: "get",
  rejectOnError: true 
};

uploadSync.unpack = {
  url: BASE_PRE + "/upload/logs/file/unpack",
  method: "get",
  rejectOnError: true 
};




export default uploadSync;